<!--
 * @Description:
 * @fileName:
 * @Author: LiSuwan
 * @Date: 2025-05-24 21:30:34
 * @LastEditors: 李苏皖 onceseo@163.com
 * @LastEditTime: 2025-06-11 00:08:05
-->
<template>
  <div class="table-empty flex_center_column">
    <img class="img" src="@/assets/img/nodata.png" :width="width" />
    <div class="text">{{ text }}</div>
  </div>
</template>
<script>
export default {
  props: {
    text: {
      type: String,
      default: '暂无记录'
    },
    width: {
      type: [String, Number],
      default: '150'
    }
  }
};
</script>
<style lang="less" scoped>
.margin-top-50 {
  margin-top: 50px;
}
.table-empty {
  line-height: 0;
  min-height: 200px;
  .text {
    display: flex;
    justify-content: center;
    color: #555555;
    margin-top: 20px;
  }
}
</style>
